/*
 * Copyright 2007 Pleso.net
 * 
 * Licensed under the GNU Lesser General Public License, Version 2.1 (the "License"); you may not
 * use this file except in compliance with the License. You may obtain a copy of
 * the License at
 * 
 * http://www.gnu.org/licenses/lgpl.html
 * 
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
 * License for the specific language governing permissions and limitations under
 * the License.
 */

package net.pleso.framework.client.ui.interfaces;

import net.pleso.framework.client.dal.IDataColumn;
import net.pleso.framework.client.dal.IDataRow;

/**
 * Represents control which can be binded to a single {@link IDataRow} and
 * {@link IDataColumn}.
 */
public interface ISingleColumnBind {

	/**
	 * Binds control to the specified {@link IDataRow} and {@link IDataColumn}.
	 * 
	 * @param row a {@link IDataRow} to be binded to.
	 * @param column a {@link IDataColumn} to be binded to.
	 */
	public void bind(IDataRow row, IDataColumn column);
}
